﻿/****************
* Creat Date: 2020/08/24 02:48:47
* Creator: Quick.CodeGenerator
*****************/
using System;
using SqlSugar;
namespace Users.Entity
{
    /// <summary>
    /// 数据表实体类：Quick_Users
    /// </summary>
    [Serializable]
    public partial class Quick_Users : Shared.Contracts.EntityBase
    {
        private string _ID;
        /// <summary>
        /// 主键
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public string ID
        {
            get { return _ID; }
            set
            {
                AddPKChange("ID", _ID, value);
                _ID = value;
            }
        }
        private string _U_Type;
        /// <summary>
        /// 用户类型, 管理员 / 普通用户
        /// </summary>
        public string U_Type
        {
            get { return _U_Type; }
            set
            {
                AddPropertyChange("U_Type");
                _U_Type = value;
            }
        }
        private string _U_LoginName;
        /// <summary>
        /// 登录名
        /// </summary>
        public string U_LoginName
        {
            get { return _U_LoginName; }
            set
            {
                AddPropertyChange("U_LoginName");
                _U_LoginName = value;
            }
        }
        private string _U_Name;
        /// <summary>
        /// 
        /// </summary>
        public string U_Name
        {
            get { return _U_Name; }
            set
            {
                AddPropertyChange("U_Name");
                _U_Name = value;
            }
        }
        private string _U_Phone;
        /// <summary>
        /// 用户手机号码
        /// </summary>
        public string U_Phone
        {
            get { return _U_Phone; }
            set
            {
                AddPropertyChange("U_Phone");
                _U_Phone = value;
            }
        }
        private string _U_EMail;
        /// <summary>
        /// 用户邮箱
        /// </summary>
        public string U_EMail
        {
            get { return _U_EMail; }
            set
            {
                AddPropertyChange("U_EMail");
                _U_EMail = value;
            }
        }
        private string _U_Pwd;
        /// <summary>
        /// 用户登录密码
        /// </summary>
        public string U_Pwd
        {
            get { return _U_Pwd; }
            set
            {
                AddPropertyChange("U_Pwd");
                _U_Pwd = value;
            }
        }
        private string _U_SaltKey;
        /// <summary>
        /// 密码盐
        /// </summary>
        public string U_SaltKey
        {
            get { return _U_SaltKey; }
            set
            {
                AddPropertyChange("U_SaltKey");
                _U_SaltKey = value;
            }
        }
        private string _U_StateCode;
        /// <summary>
        /// 用户状态: 正常 / 锁定
        /// </summary>
        public string U_StateCode
        {
            get { return _U_StateCode; }
            set
            {
                AddPropertyChange("U_StateCode");
                _U_StateCode = value;
            }
        }
        private string _IsActive;
        /// <summary>
        /// 有效标识: Y 正常 N 删除
        /// </summary>
        public string IsActive
        {
            get { return _IsActive; }
            set
            {
                AddPropertyChange("IsActive");
                _IsActive = value;
            }
        }
        private string _Memo;
        /// <summary>
        /// 备注
        /// </summary>
        public string Memo
        {
            get { return _Memo; }
            set
            {
                AddPropertyChange("Memo");
                _Memo = value;
            }
        }
        private DateTime? _U_Last_LoginTime;
        /// <summary>
        /// 最后一次登录时间
        /// </summary>
        public DateTime? U_Last_LoginTime
        {
            get { return _U_Last_LoginTime; }
            set
            {
                AddPropertyChange("U_Last_LoginTime");
                _U_Last_LoginTime = value;
            }
        }
        private string _CreateBy;
        /// <summary>
        /// 创建人
        /// </summary>
        public string CreateBy
        {
            get { return _CreateBy; }
            set
            {
                AddPropertyChange("CreateBy");
                _CreateBy = value;
            }
        }
        private DateTime? _CreateOn;
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateOn
        {
            get { return _CreateOn; }
            set
            {
                AddPropertyChange("CreateOn");
                _CreateOn = value;
            }
        }
        private string _ModifyBy;
        /// <summary>
        /// 修改人
        /// </summary>
        public string ModifyBy
        {
            get { return _ModifyBy; }
            set
            {
                AddPropertyChange("ModifyBy");
                _ModifyBy = value;
            }
        }
        private DateTime? _ModifyOn;
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? ModifyOn
        {
            get { return _ModifyOn; }
            set
            {
                AddPropertyChange("ModifyOn");
                _ModifyOn = value;
            }
        }
    }
}
